Rear sons for help in old age; and store up grains against famine.
养儿防老。
Apparently what happened was that water collected on these tar pits, and the bigger animals like the elephants ventured out on to the apparently firm surface to drink, and were promptly bogged in the tar.